projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b488329
)
gl driver: Make some members const
author
Timm Bäder
<mail@baedert.org>
Thu, 9 Nov 2017 09:55:14 +0000
(10:55 +0100)
committer
Timm Bäder
<mail@baedert.org>
Thu, 21 Dec 2017 17:25:52 +0000
(18:25 +0100)
gsk/gskgldriver.c
patch
|
blob
|
history
diff --git
a/gsk/gskgldriver.c
b/gsk/gskgldriver.c
index 41c6f6ca82fa29411087383f77ba5a0779000739..dbc397752752c9a70eeb9f15c9cdb5bc0c2235fe 100644
(file)
--- a/
gsk/gskgldriver.c
+++ b/
gsk/gskgldriver.c
@@
-45,10
+45,10
@@
struct _GskGLDriver
GHashTable *textures;
GHashTable *vaos;
- Texture *bound_source_texture;
- Texture *bound_mask_texture;
- Vao *bound_vao;
- Fbo *bound_fbo;
+
const
Texture *bound_source_texture;
+
const
Texture *bound_mask_texture;
+
const
Vao *bound_vao;
+
const
Fbo *bound_fbo;
int max_texture_size;